/*
 * @Author: Islands 1430536748@qq.com
 * @Date: 2024-07-13 16:34:56
 * @LastEditors: 周洋 1430536748@qq.com
 * @LastEditTime: 2024-08-22 17:24:08
 * @version: 1.0.0
 * @Description: 静态路由
 */
import { RouteRecordRaw } from "vue-router";
import { DefaultLoginLayout } from '@/layout/Login';
export const staticRoutes: Array<RouteRecordRaw> = [
    {
        path: '/',
        redirect: '/login',
        component: DefaultLoginLayout,
        children: [
            {
                path: '/login',
                meta: {
                    title: '登录',
                    icon: '',
                },
                component: () => import('../../../views/login/index.vue')
            },
        ]
    },
    {
        path: '/error',
        redirect: '/404',
        component: DefaultLoginLayout,
        children: [
            {
                path: '/:pathMatch(.*)*',
                meta: {
                    title: '404',
                    icon: '',
                },
                component: () => import('../../../views/error/404.vue')
            },
        ]
    },
]

